titanium: Return from cpu_eth_init() directly
authorFabio Estevam <[email protected]>
Sat, 4 Jan 2014 19:36:29 +0000 (17:36 -0200)
committerStefano Babic <[email protected]>
Mon, 13 Jan 2014 10:52:27 +0000 (11:52 +0100)
commit8aa42441c889ebb5fbb612d56df3fb2eb3eefcf2
treef6284790cf7a0b2739b23823696b5cf166d9a67f
parent14da759fb5338ae2ae5550cce1d596794262f455
titanium: Return from cpu_eth_init() directly

There is no need to print an error message when cpu_eth_init() fails because
net/eth.c already prints it.

In order to simplify the code, just return the value from cpu_eth_init(bis)
directly.

Cc: Stefan Roese <[email protected]>
Signed-off-by: Fabio Estevam <[email protected]>
Acked-by: Stefan Roese <[email protected]>
board/barco/titanium/titanium.c